unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, OleCtrls, FoxitReaderSDKProLib_TLB;

type
  TForm1 = class(TForm)
    FoxitReaderSDK1: TFoxitReaderSDK;
    procedure FormShow(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

uses
  Class_KzUtils;

{$R *.dfm}

procedure TForm1.FormShow(Sender: TObject);
begin
  Self.FoxitReaderSDK1.OpenFile(TKzUtils.ExePath+'nbyz042.pdf','');
  Self.FoxitReaderSDK1.SaveAs(TKzUtils.ExePath+'nbyz042_copy.pdf');
  Self.FoxitReaderSDK1.OpenFile(TKzUtils.ExePath+'nbyz042_copy.pdf','');
end;

end.
